import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import {increment, decrement, incrementAsync} from './modules'

import ArtilceList from '../../../../../../components/article/List'

function mapStateToProps(state) {
    return {
        z: state.dictionary_article_list
    }
}

function mapDispatchToProps(dispatch) {
    return {
        increment: ()=> dispatch(increment()),
        decrement: ()=> dispatch(decrement()),
        incrementAsync: ()=> dispatch(incrementAsync())
    }
}

export default connect(mapStateToProps, mapDispatchToProps)(ArtilceList)